package org.gbis.openbus.db;

import java.sql.*;

import org.gbis.openbus.*;
import org.gbis.openbus.webbean.LogInfo;

import com.sbmoon.db.*;
import com.sbmoon.web.Request;

public class DbManagerDual extends DbManager implements UpdateInterface {

	@Override
	public String getSqlFileName() {
		return "sql120_dual.sql";
	}

	@Override
	public Item getItem(QueryResult qr) {
		// do nothing
		return null;
	}

	private DbManagerDual() {
	}

	public static DbManagerDual getDbManager() {
		if( true ) {
			return new DbManagerDual();
		}
		return dbManager;
	}

	private static final DbManagerDual dbManager = new DbManagerDual();

	public static void main(String[] args) throws Exception {

		DbManager dbManager = getDbManager();

		SearchResult searchResult = SearchResult.getNewSearchResult();

		dbManager.getSearchResult( true, searchResult, 1 );

		dbManager.closeConnection();

	}

}
